﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>钉钉</title>
</head>
<script>
    //本地储存
    window.onload=function () {
        //储存
        // localStorage.a="哈哈大宝贝"
        //修改
        // localStorage.a="啦啦啦"
        //删除
        //  delete  localStorage.a

        //简写
       // console.log(document.title) 获取title
       //  console.log(document.documentElement  获取html
        //console.log(document)//获取整个页面
        // console.log(document.body) 获取body


        // sessionStorage.a="12"  会话级别的储存


    }
</script>
<body>

</body>
</html>